package br.edu.ufcg.lsd.wbis.control.exception;

public class WBISException extends Exception {

	private static final long serialVersionUID = -2716295196771856501L;

	private String message;

	public WBISException() {
		super();
		this.message = null;
	}

	public WBISException(String message) {
		super(message);
		this.message = message;
	}

	public WBISException(Throwable t) {
		super(t);
		this.message = t.getMessage();
	}

	public void setMessage(String message) {
		this.message = message;
	}

	@Override
	public String getMessage() {
		return this.message;
	}

}
